package com.it.infiniteloop;

import java.util.Scanner;

/*public class infiniteloopDemo1 {
    public static void main(String[] args) {
        for(int i = 1;i<=100;i++){
            if(i % 7 == 0 || i / 10 % 10 == 7 || i % 10 == 7){
                continue;
            }
            System.out.println(i);
        }
    }
}*/
/*public class infiniteloopDemo1 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入的整数：");
        int number = sc.nextInt();
        for(int i = 1; i <= number; i++) {
            if(i*i==number) {
                System.out.println(number+"的平方根是"+i);
                break;
            }else if(i*i>number) {
                System.out.println(number+"平方根的整数部分是"+(i-1));
                break;
            }
        }
    }
}*/
public class infiniteloopDemo1 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个正整数：");
        int number = sc.nextInt();

    }
}
